<template>
  <div style="height: 500px; overflow: auto; padding: 40px">
    <el-form
      ref="ruleFormRef"
      :model="studentInfo"
      :rules="rules"
      label-width="120px"
      class="demo-ruleForm"
      :size="formSize"
      status-icon
    >
      <el-row>
        <el-col :span="8">
          <el-form-item label="父亲" prop="name">
            <el-input
              v-model="studentInfo.f_name"
              placeholder="请输入父亲姓名"
            />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="电话" prop="name">
            <el-input
              v-model="studentInfo.f_phone"
              placeholder="请输入联系方式"
            />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="职业" prop="name">
            <el-input
              v-model="studentInfo.f_career"
              placeholder="请输入父亲职业"
            />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="母亲" prop="name">
            <el-input
              v-model="studentInfo.m_name"
              placeholder="请输入父亲姓名"
            />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="电话" prop="name">
            <el-input
              v-model="studentInfo.m_phone"
              placeholder="请输入联系方式"
            />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="职业" prop="name">
            <el-input
              v-model="studentInfo.m_career"
              placeholder="请输入母亲职业"
            />
          </el-form-item>
        </el-col>
        <el-col :span="16">
          <el-form-item label="其他备注" prop="name">
            <el-input
              v-model="studentInfo.remark"
              type="textarea"
              placeholder="如优选考虑院校/优先考虑专业等"
            />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>
<script setup>
import studentsStore from '@/store/modules/students';
const studentStore = studentsStore(); // 学生信息仓库
const studentInfo = computed(() => studentStore.studentInfo); // 学生信息
const ruleFormRef = ref();
</script>
<style lang="scss" scoped>
.titleName {
  display: flex;
  align-items: center;
  margin-bottom: 20px;

  .line {
    height: 14px;
    width: 2px;
    background-color: #004cf7;
    margin: 0 10px;
  }
}
</style>
